package com.ctshk.rpc.workflow.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 审批条件配置
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-25
 */
@Data
@ApiModel(description="审批条件配置")
public class ApprovalSettingConditionReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "请输入条件开始值")
    @ApiModelProperty(value = "比对值起始", required = true)
    private BigDecimal valueBegin;

    @NotNull(message = "请输入条件结束值")
    @ApiModelProperty(value = "比对值结束", required = true)
    private BigDecimal valueEnd;

}
